<template>
  <div>
    <span @click="add"></span>
    {{crr}}
  </div>
</template>

<script>
export default {
  data () {
    return {
      brr: [1, 0, 2, 0, 0, 0, 5],
      crr: []
    }
  },
  computed: {
    add () {
      this.brr.forEach((obj, index) => {
        this.crr[index] = obj * 2
      })
      return this.crr
    }

  }
}
</script>

<style>

</style>
